package com.qf.dao;

import com.qf.bean.Employee;

import java.util.List;
import java.util.Map;

public interface EmployeeMapper {
    List<Employee> findAll(Map map);
    List<Employee> findByIds(int[] empids);
    Employee login(String  loginname);
    Employee  findByLoginname(String loginname);
    int deleteByPrimaryKey(Integer id);
    int updateStateById(Map map);
int deleteByIds(int[] empids);
    int insert(Employee record);

    int insertSelective(Employee record);

    Employee selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Employee record);

    int updateByPrimaryKey(Employee record);
}